import base from '../utils/base.js'
import * as axios from '../utils/http.js'

const sys = {
    //登录
    save(data, callback) {
        return axios.post(`${base.rq}/sys/updateSystemConfig`, data,{}).then(res => {
            callback(res);
        }, () => {

        })
    },
    selectSetting(data, callback){
        return axios.get(`${base.rq}/sys/selectSysSetting`, data,{}).then(res => {
            callback(res);
        }, () => {

        })
    },

}

export default sys
